home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global storecast, hathorig, hatvorig, hath, hatv
- puppetSprite(1, 1)
- set the castNum of sprite 1 to storecast
- puppetSprite(27, 1)
- if the locV of sprite 25 > 280 then
- if the locH of sprite 25 > 320 then
- set the locH of sprite 27 to 700
- else
- set the locH of sprite 27 to -60
- end if
- set the locV of sprite 27 to the locV of sprite 25 - 69
- end if
- set hathorig to the locH of sprite 27
- set hatvorig to the locV of sprite 27
- set hath to (the locH of sprite 25 + 28 - the locH of sprite 27) / 5.0
- set hatv to (the locV of sprite 25 - 54 - the locV of sprite 27) / 5.0
- end
-